package com.linzelin.mapper;

import com.linzelin.po.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserMapper {
    @Select("select * from user")
    List<User> selectUser();

    @Select("select * from user where id = #{id}")
    User selectUserById(@Param("id") int id);
}
